// Cat.cs created with MonoDevelop
// User: andrew.esler at 11:13 a 14/01/2010
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//

using System;
using System.Collections.Generic;

namespace CILADA.TestAssembly
{
	public class Cat : Animal
	{
        private List<Dog> _enemies;

        public List<Dog> Enemies {
            get { return _enemies; }
        }

		public Cat()
		{
			this.SpeciesName = "Cat";
            this._enemies = new List<Dog>();
		}
		
		public void Hunt(){
			Console.WriteLine(this.SpeciesName+" is hunting...");
		}

        public void ListEnemies()
        {
            foreach (Dog d in _enemies)
            {
                Console.WriteLine("Cat has an enemy in " + d.PetName);
            }
        }
	}
}
